package com.app.couponsharelife.ui.main.me.updateversion

import com.app.couponsharelife.R
import com.app.couponsharelife.base.BaseActivity
import com.app.couponsharelife.utils.AppUtils
import kotlinx.android.synthetic.main.activity_update_version.*
import kotlinx.android.synthetic.main.common_tool_bar_layout.*

class UpdateVersionActivity : BaseActivity() {

    override val viewLayoutId: Int get() = R.layout.activity_update_version

    override fun initViews() {
        initToolBar()
        tvVersionNum.text = AppUtils.getVersionName()
    }

    private fun initToolBar() {
        ivBack.setOnClickListener { finish() }
        tvToolBarTitle.text = "版本更新"
    }
}
